<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!--公共声明的引用 begin-->
<%@ include file="/page/base/declare.jsp"%>
<!--公共声明的引用 end-->
<!DOCTYPE html>
<html lang="en">
<head>
    <!--公共头文件的引入 begin-->
    <%@include file="/page/base/head.jsp"%>
    <!--public css import begin-->
    <link href="/static/css/base/common.base.css" rel="stylesheet">
    <!--public css import end-->
</head>

<body>
<div class="ch-container">
    <div class="row">
        
    <div class="row">
        <div class="col-md-12 center login-header">
            <h2>Welcome to OneDay</h2>
        </div>
        <!--/span-->
    </div><!--/row-->

    <div class="row">
        <div class="well col-md-5 center login-box">
                <c:if test="${empty desc}">
                    <div class="alert alert-info">
                    Please login with your Username and Password.
                </c:if>
                <c:if test="${!empty desc}">
                        <div class="alert alert-danger">
                    ${desc}
                </c:if>
            </div>
            <form class="form-horizontal" action="/auth/home_page.htm" method="post">
                <fieldset>
                    <div class="input-group input-group-lg">
                        <span class="input-group-addon"><i class="glyphicon glyphicon-user red"></i></span>
                        <input name="username" type="text" class="form-control" placeholder="username" value="${username}">
                    </div>
                    <div class="clearfix"></div><br>

                    <div class="input-group input-group-lg">
                        <span class="input-group-addon"><i class="glyphicon glyphicon-lock red"></i></span>
                        <input name="password" type="password" class="form-control" placeholder="123456" value="${password}">
                    </div>
                    <div class="clearfix"></div>

                    <div class="input-prepend">
                        <label class="remember" for="remember"><input type="checkbox" id="remember"> Remember me</label>
                    </div>
                    <div class="clearfix"></div>

                    <p class="center col-md-5">
                        <button type="submit" class="btn btn-primary">Login</button>
                    </p>
                </fieldset>
            </form>
        </div>
        <!--/span-->
    </div><!--/row-->
</div><!--/fluid-row-->

</div><!--/.fluid-container-->

<!-- external javascript -->
<!--public js import begin-->
<script src="/static/js/base/common.base.js"></script>
<!--public js import end-->
</body>
</html>
